//
//  StorageRackViewController.swift
//  Wmsmobile
//
//  Created by wangshuning on 16/8/16.
//  Copyright © 2016年 www.hd123.com. All rights reserved.
//

import UIKit

class StorageRackViewController: UIViewController,UITableViewDelegate, UITableViewDataSource {

    @IBOutlet weak var tabelView: UITableView!
    override func viewDidLoad() {
        super.viewDidLoad()
        // Do any additional setup after loading the view.
    tabelView.register(UINib(nibName: "StorageRackTableViewCell", bundle: Bundle.main), forCellReuseIdentifier: "StorageRackTableViewCell")
        tabelView.delegate = self
        tabelView.dataSource = self
    }

    
    
    func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
            return 1 
    }
    
    func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
        let cell = tableView.dequeueReusableCell(withIdentifier: "StorageRackTableViewCell", for: indexPath) as! StorageRackTableViewCell
        return cell
    }

   

    
    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
        // Get the new view controller using segue.destinationViewController.
        // Pass the selected object to the new view controller.
    }
    */

}
